
add_subdirectory(keeper)
add_subdirectory(Common)
add_subdirectory(FServer)

set(LIBPOCOFOUNDATION ${PROJECT_SOURCE_DIR}/dep_libs/poco/lib/libPocoFoundation.so)
set(LIBPOCONET ${PROJECT_SOURCE_DIR}/dep_libs/poco/lib/libPocoNet.so)
set(LIBPOCOUTIL ${PROJECT_SOURCE_DIR}/dep_libs/poco/lib/libPocoUtil.so)
set(LIBPOCOXML ${PROJECT_SOURCE_DIR}/dep_libs/poco/lib/libPocoXML.so.82)

set (EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
add_executable(keeper_server
                  main.cc)

target_link_libraries(keeper_server
            keeper
            logs
            fserver
            ${LIBPOCONET}
            ${LIBPOCOUTIL}
            ${LIBPOCOXML}
            ${LIBPOCOFOUNDATION})
